rendernode: Transform cairo_t to correct coordinates
authorBenjamin Otte <otte@redhat.com>
Tue, 1 Nov 2016 02:42:35 +0000 (03:42 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 1 Nov 2016 02:42:35 +0000 (03:42 +0100)
commitb3e5c31b080b682d479ab15efc80075fc53afe7e
tree436dcaabf7fdae3f353e04b56b4e6252c120d7e7
parentf4c4ab6ab152ebf4b963c7dc4be6af5718d3961b
rendernode: Transform cairo_t to correct coordinates

We want to have the coordinate system of the created cairo surface to be
identical to the coordinate system of the node's bounds. For that, we
need to translate the cairo surface by the bounds' origin.
gsk/gskrendernode.c